package xian.woniu.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import xian.woniu.entity.Diagnosis;
import xian.woniu.entity.DiagnosisExample;
@Repository
public interface DiagnosisMapper {
    int countByExample(DiagnosisExample example);

    int deleteByExample(DiagnosisExample example);

    int deleteByPrimaryKey(Integer diaid);

    int insert(Diagnosis record);

    int insertSelective(Diagnosis record);

    List<Diagnosis> selectByExampleWithBLOBs(DiagnosisExample example);

    List<Diagnosis> selectByExample(DiagnosisExample example);

    Diagnosis selectByPrimaryKey(Integer diaid);

    int updateByExampleSelective(@Param("record") Diagnosis record, @Param("example") DiagnosisExample example);

    int updateByExampleWithBLOBs(@Param("record") Diagnosis record, @Param("example") DiagnosisExample example);

    int updateByExample(@Param("record") Diagnosis record, @Param("example") DiagnosisExample example);

    int updateByPrimaryKeySelective(Diagnosis record);

    int updateByPrimaryKeyWithBLOBs(Diagnosis record);

    int updateByPrimaryKey(Diagnosis record);

    List<Diagnosis> selectByPid(Integer pid);
}